package com.bus.mapper;

import java.util.List;

import com.bus.entity.Products;

public interface ProductMapper {
	public List<Products> selectAllProducts();

	public List<Products> selectAllProducts2(Products p);

	List<Products> selectAllProductByPageCondition(Products p);
	
	Products selectProductById(Integer id);
	
	int updateProductById( Products p) ;
	
	public int insertProduct(Products p);
	
	int deleteProductByid (Integer id);
	
}
